package org.gap.service;

import java.util.List;
import java.util.Set;

import org.gap.domain.CaractPP;
import org.gap.domain.Tiers;

/**
 * Spring service that handles CRUD requests for CaractPP entities
 * 
 */
public interface CaractPPService {

	/**
	 * Save an existing CaractPP entity
	 * 
	 */
	public void saveCaractPP(CaractPP caractpp);

	/**
	 */
	public CaractPP findCaractPPByPrimaryKey(Integer cppTiers);

	/**
	 * Save an existing Tiers entity
	 * 
	 */
	public CaractPP saveCaractPPTiers(Integer cppTiers_1, Tiers related_tiers);

	/**
	 * Load an existing CaractPP entity
	 * 
	 */
	public Set<CaractPP> loadCaractPPs();

	/**
	 * Load List of CaractPP by name for research
	 * 
	 */
	public Set<CaractPP> loadCaractPPsByName(String name);
	
	/**
	 * List de noms des personnes pour alimenter
	 * une combobox
	 * @return
	 */
	public Set<String> loadNamePers();
	
	
	/**
	 * Delete an existing CaractPP entity
	 * 
	 */
	public void deleteCaractPP(CaractPP caractpp_1);

	/**
	 * Delete an existing Tiers entity
	 * 
	 */
	public CaractPP deleteCaractPPTiers(Integer caractpp_cppTiers, Integer related_tiers_tieTiers);

	/**
	 * Return all CaractPP entity
	 * 
	 */
	public List<CaractPP> findAllCaractPPs(Integer startResult, Integer maxRows);

	/**
	 * Return a count of all CaractPP entity
	 * 
	 */
	public Integer countCaractPPs();
}